package com.mikhailenko.transportMVC.ejb.impl;

import java.util.List;

import javax.ejb.Stateless;

import org.springframework.beans.factory.annotation.Autowired;

import com.mikhailenko.transportMVC.ejb.InputEjb;
import com.mikhailenko.transportMVC.model.es.InputEntity;
import com.mikhailenko.transportMVC.service.es.InputService;

@Stateless//(mappedName="ejb/inputEjbBean")
public class InputEjbImpl implements InputEjb{

    @Autowired
    InputService inputService;
    
    @Override
    public List<InputEntity> getAll() {
        return inputService.findAll();
    }

    
}
